/**
 *@file main.cpp
 *@author Linghui
 *@date Thu 2021 Oct 7 8:46pm 
 *@brief Multpication of matrix(not completed)
 */

#include <iostream>
#include "Matrix.h"
using namespace std;

int main()
{
    Matrix<int> m1, m2, m3;
    int r1, c1, r2, c2;
    //RowVector<int> v1;

    cout << "Please enter the number of rows and colums:";
    cin >> r1 >> c1;
    cout << "please enter the matrix:";
    m1.get(r1, c1);
    m1.show_matrix();

    cout << "Please enter the number of rows and colums:";
    cin >> r2 >> c2;
    cout << "please enter the matrix:";
    m2.get(r2, c2);
    m2.show_matrix();

    // if (m1.n_col == m2.n_row)
    //{
    m3 = m1*m2;
    m3.show_matrix();
    // }
    //else
    // {
    //   cout << "Cannot be multiply!";
    // }

  //cout << "please enter the number of rows:";
  //cin >> a;


    return 0;
}
